*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    cursor: url('images/curseur.png'), auto;
}

body{
    background-image: url('images/fond\ créactions.png');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: none;

    background-color: rgb(0, 0, 0);
    cursor: url('images/curseur.png'), auto ;
}


.header{
    position: absolute;
    height: 11%;
    width: 99%;
    display: flex;
    z-index: 100;
    padding: 10px 30px;
    justify-content: center;
    align-items: center;
}


.navbar{
    margin-top: -15vh;
    float: left;
    z-index: 1;
}

.navbar a {
    position: relative;
    margin-left: 30px;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 20px;
    color:white;
}

.navbar a span{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgb(255,139,7);
    z-index: -1;
    border-radius: 20px;
    border-bottom: 3px  solid rgb(187,91,2);
}

.navbar a:hover{
    color:rgb(197,13,13);
    cursor: url('images/curseur_appuie.png'), auto;
}


.galerie{
    flex-direction: row;
    gap: 20px;
    margin: auto;
    align-items: center;
    text-align: center;
    position: relative;
    display: flex;
    margin-top: 8vh;
    width: 95vw;
    height: 120vh;
    flex-wrap: wrap;
    border-radius: 20px;
    color: rgb(190, 0, 0) 0.5 ;
    
}

img{
    background-color: rgb(255, 255, 255);
    justify-content: center;
    border-radius: 20px;
    border: solid white 8px;
    margin: 5px;
    width: calc(45% - 20px);
}

img:hover{
    cursor: url('images/curseur_appuie.png'), auto;
    transform: scale(1.02);
    transition: ease-in-out 0.5s;
}


.conteneur {
    cursor: url('images/curseur.png'), auto;
    display: none;
    position: fixed;
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.close {
    display: block;
    position: absolute;
    top: 10px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: url('images/curseur_appuie.png'), pointer;
}


.close:hover{
    color: #a4a4a4;
}

#conteneurimg {
    display: block;
    position: relative;
    margin-top: 8%;
    margin-right: auto;
    margin-left: auto;
    width: 35%;
    cursor: url('images/curseur.png'), auto ;
    transform: scale(1.5); 
}

#texte1{
    margin-top:8%;
    display: none;
    text-align:center;
    padding: 10px;
    z-index: 1;
    color:rgb(255, 255, 255);
    font-weight: bold;
    font-size: 20px;
    cursor:url('images/curseur_appuie.png'), pointer;
}

#texte1:hover{
    color: rgb(182, 202, 240);
}

#texte2{
    margin-top:8%;
    display: none;
    text-align:center;
    padding: 10px;
    z-index: 1;
    color:rgb(255, 255, 255);
    font-weight: bold;
    font-size: 20px;
    cursor:url('images/curseur_appuie.png'), pointer;
}

#texte2:hover{
    color: rgb(182, 202, 240);
}

#texte3{
    margin-top:8%;
    display: none;
    text-align:center;
    padding: 10px;
    z-index: 1;
    color:rgb(255, 255, 255);
    font-weight: bold;
    font-size: 20px;
    cursor:url('images/curseur_appuie.png'), pointer;
}

#texte3:hover{
    color: rgb(182, 202, 240);
}
